-- =============================================
-- Author:		Rodrigo Martins
-- Create date: 01/10/2013
-- Description:	Inserir Evento
-- =============================================
CREATE PROCEDURE ai_sp_inserirExercicio
	@id int,
	@id_academia int,
	@descricao varchar(255)
	
	
AS
BEGIN

	INSERT INTO [Exercicio]
           ([id_academia]
            ,[descricao]
		   )
     VALUES
           (
		   @id_academia
          ,@descricao		   
           )

   select @id = @@IDENTITY

END
GO
